package com.meteor.user.convert;

import com.meteor.user.entity.SysParams;
import com.meteor.user.vo.SysParamsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 参数管理
 *
 * @author lynn
 * @date 2024/1/03
 */
@Mapper
public interface SysParamsConvert {

    SysParamsConvert INSTANCE = Mappers.getMapper(SysParamsConvert.class);

    SysParams convert(SysParamsVO vo);

    SysParamsVO convert(SysParams entity);

    List<SysParamsVO> convertList(List<SysParams> list);

}